package com.rds.workflow.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.rds.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 1对象 rda_workflow
 *
 * @author 1
 * @date 2021-11-26
 */
public class RdaWorkflow extends BaseEntity {
    /** 流程对象id */
    private Long id;

    /** 流程模板id */
    private Long flowTempleteid;

    /** 流程对象名称 */
    private String name;

    /** 流程对象描述 */
    private String description;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date modifyTime;

    /** 流程所有者Id */
    private Integer ownerid;

    /** 层级 */
    private Integer level;

    /** 类型Id */
    private Integer typeid;

    /** 策略Id */
    private Integer policyid;

    /** 状态id */
    private Integer stateid;

    /** 版本 */
    private String revision;

    private String objectid;

    /** 流程模板名 */
    private String templeteName;

    /** 流程分派id */
    private Long assignmentypeid;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getFlowTempleteid() {
        return flowTempleteid;
    }

    public void setFlowTempleteid(Long flowTempleteid) {
        this.flowTempleteid = flowTempleteid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    @Override
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public Integer getOwnerid() {
        return ownerid;
    }

    public void setOwnerid(Integer ownerid) {
        this.ownerid = ownerid;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public Integer getTypeid() {
        return typeid;
    }

    public void setTypeid(Integer typeid) {
        this.typeid = typeid;
    }

    public Integer getPolicyid() {
        return policyid;
    }

    public void setPolicyid(Integer policyid) {
        this.policyid = policyid;
    }

    public Integer getStateid() {
        return stateid;
    }

    public void setStateid(Integer stateid) {
        this.stateid = stateid;
    }

    public String getRevision() {
        return revision;
    }

    public void setRevision(String revision) {
        this.revision = revision;
    }

    public String getObjectid() {
        return objectid;
    }

    public void setObjectid(String objectid) {
        this.objectid = objectid;
    }

    public String getTempleteName() {
        return templeteName;
    }

    public void setTempleteName(String templeteName) {
        this.templeteName = templeteName;
    }

    public Long getAssignmentypeid() {
        return assignmentypeid;
    }

    public void setAssignmentypeid(Long assignmentypeid) {
        this.assignmentypeid = assignmentypeid;
    }
}
